cmake_minimum_required(VERSION 3.29.0)

project(ThreadPool)

set(CMAKE_CXX_STANDARD 11)          # 使用 C++17
set(CMAKE_CXX_STANDARD_REQUIRED ON) # 必须支持该标准
set(CMAKE_CXX_EXTENSIONS OFF)

add_executable(threadpool Main.cpp)
target_link_libraries(threadpool pthread)
